package org.ioflow.events
{
	import flash.events.Event;
	
	import org.ioflow.IOflow;

	public final class ConnectionSuccessEvent extends Event
	{
		public static const TYPE:String = "org.ioflow.events.ConnectionSuccessEvent.TYPE";
		
		private var m_client:IOflow;
		
		public function ConnectionSuccessEvent(Client:IOflow)
		{
			super(TYPE);
			m_client = Client;
		}
		
		public function get client():IOflow
		{
			return m_client;
		}
		
		override public function clone():Event
		{
			return new ConnectionSuccessEvent(m_client);
		}
	}
}